package com.lanou3g.ptp.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@ApiModel(description = "学院")
public class College implements Serializable {

    @ApiModelProperty("学院id")
    private Long id;

    @ApiModelProperty("学院名称")
    private String name;

    @ApiModelProperty("学校id")
    private Long schoolId;

    @ApiModelProperty("学院负责人ID")
    private Long leaderId;

    @ApiModelProperty(name = "状态", hidden = true)
    private Integer status;

    @ApiModelProperty(name = "创建时间", hidden = true)
    private Date createTime;

    @ApiModelProperty(name = "更新时间", hidden = true)
    private Date updateTime;

    private String leaderName;
    private List<Major> children;
    private String parentNode;
    private Long parentId;
    private Integer level;

}
